Abductive, Inductive and Deductive Reasoning about Resources

نویسنده

  • Peter W. O'Hearn
چکیده

We describe a method for reasoning about programs that uses a mixture of abductive, inductive and deductive inference. It allows us to synthesize a pre/post spec for a program procedure, without requiring any information about the procedure’s calling context. The method can be used to obtain partial specifications for portions of large code bases in the millions of lines of code. The method begins by trying to deductively prove a procedure, with a precondition describing empty or no resources. If at some point we have insufficient information to perform an internal operation – perhaps a lock must be held, or a memory cell must be allocated – we perform abductive inference to infer what is missing, and hypothesize that this is part of the precondition that you need to describe the resources that the program requires. There is the possibility, though, that an unbounded number of abduced preconditions could be generated, if the procedure has a loop. To enable convergence of this process we apply an abstraction operation, which generalizes the more specific abduced facts that have been discovered. In this setup it is the job of abduction to discover descriptions of missing resource, where abstraction computes a generalization of the specific facts discovered by abduction: abstraction used in this way is a form of inductive generalization, rather than deductive reasoning about program behaviour. Thus, our automated reasoning method involves a mixture of all three of the forms of reasoning – deductive, inductive, and abductive – that Charles Peirce identified in his analysis of the scientific process [5]. This talk presents a survey and further development of recent joint work with Cristiano Calcagno, Dino Distefano and Hongseok Yang on automatic program analysis [1–3]. Among other things, the current work automates ideas about local reasoning and footprints I put forward in a talk at the 2001 CSL conference [4]. In particular, our new inference technique attempts to discover assertions describing the footprint (the resources that a program component accesses), where previously the human was left to find them.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

'applications for Experminting' or 'reasoning Agents' as Design Decision Support Tools

In this paper, we analyze the usage and impact of information technology in the early design phases of the architectural design process. Typical topics of concern in these phases are idea generation, theory formation, hypothetical reasoning, analogical reasoning, and so forth. Although these phases of the design process have been studied before, not many facts are really known about them, nor a...

متن کامل

Peirce and the Autonomy of Abductive Reasoning

Essential to Peirce's distinction among three kinds of reasoning, deduction, induction and abduction, is the claim that each is correlated to a unique species of validity irreducible to that of the others. In particular, abductive validity cannot be analyzed in either deductive or inductive terms, a consequence of considerable importance for the logical and epistemological scrutiny of scientifi...

متن کامل

Using Abduction for Induction of Normal Logic Programs

This paper proposes the approach of eXtended Hybrid Abductive Inductive Learning (XHAIL) for generalising positive and negative examples with respect to normal logic programs. A proof procedure is described that uses abduction to realise the abductive, deductive, and inductive phases which comprise this approach.

متن کامل

Searching for the Unknowable: A Process of Detection – Abductive Research Generated by Projective Techniques

Abstract: This article looks at the process of doing research ‘from scratch.” The author began a project investigating children of Ethiopian origin living in Israel to see how ones who attended a kindergartern program years earlier differed from those who had not attended. However, the problem from the outset was that there may not be a difference to find. In this article, the author compares i...

متن کامل

Using inductive reasoning and reasoning about dynamic domains for automatic processing of claims

We report on the novel approach to modeling a dynamic domain with limited knowledge. A domain may include participating agents so that we are uncertain about motivations and decisionmaking principles of some of these agents. Our reasoning setting for such domain includes the deductive and inductive components. The former component is based on situation calculus and describes the behavior of age...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010